const express = require('express')

function createApp() {
  const app = express()

  app.listen(3000, () => {
    console.log('server is running...');
  })

  return app
}

module.exports = createApp